import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './utils/vant-import'

Vue.config.productionTip = false

// 全局定义一个过滤器，用于格式化金额数据
Vue.filter('money', V => {
  return '￥' + Number(V).toFixed(2) + '元'
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
